<?php
class DebugFunction
{
	protected $_errorMessageInstance;

	public function __construct()
	{
		$className = 'ErrorMesage' . ucfirst(DebugHelper::$lang);
		$this->_errorMessageInstance = new $className;
	}

	public function APP_OPTION_NOT_SET($debugData)
	{
		$this->_errorMessageInstance->get('APP_OPTION_NOT_SET', $debugData);
		$this->_errorMessageInstance->output();
	}

	public function CONFIG_FILE_DOES_NOT_RETURN_ARRAY($debugData)
	{
		$this->_errorMessageInstance->get('CONFIG_FILE_DOES_NOT_RETURN_ARRAY', $debugData);
		$this->_errorMessageInstance->output();
	}
}